package com.sservice.model.entity;

import com.sservice.urp.entity.QueryCondition;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class AdvanceReceipt extends QueryCondition implements Serializable {

    private static final long serialVersionUID = -4603093220666117450L;
    private Integer id;

    private String no;

    private String clienteleId;

    private String payType;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date payTime;

    private BigDecimal totalDeposit;

    private BigDecimal totalVerified;

    private String operator;

    private String verifiedOver;
    private String remark; // 备注说明
    private String type; // 0 预收款单,1应收款,2预付款单，3应付款
    private String orderId; // 备注说明
    private String unitCode; // 备注说明
    private String account; // 操作账户
    private String locked; // 锁定
    private String locker; // 锁定
    private Date lockTime;
    private BigDecimal lockTotal;
    private String lockOrderId;
    private String lockForOther; // 是否其他应付款的锁定 1是

    private Date createAt;

    private Date updateAt;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }

    public String getClienteleId() {
        return clienteleId;
    }

    public void setClienteleId(String clienteleId) {
        this.clienteleId = clienteleId == null ? null : clienteleId.trim();
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType == null ? null : payType.trim();
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date paytTime) {
        this.payTime = paytTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }

    public String getVerifiedOver() {
        return verifiedOver;
    }

    public void setVerifiedOver(String verifiedOver) {
        this.verifiedOver = verifiedOver == null ? null : verifiedOver.trim();
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getLocked() {
        return locked;
    }

    public void setLocked(String locked) {
        this.locked = locked;
    }

    public String getLocker() {
        return locker;
    }

    public void setLocker(String locker) {
        this.locker = locker;
    }

    public Date getLockTime() {
        return lockTime;
    }

    public void setLockTime(Date lockTime) {
        this.lockTime = lockTime;
    }

    public BigDecimal getTotalDeposit() {
        return totalDeposit;
    }

    public void setTotalDeposit(BigDecimal totalDeposit) {
        this.totalDeposit = totalDeposit;
    }

    public BigDecimal getTotalVerified() {
        return totalVerified;
    }

    public void setTotalVerified(BigDecimal totalVerified) {
        this.totalVerified = totalVerified;
    }

    public BigDecimal getLockTotal() {
        return lockTotal;
    }

    public void setLockTotal(BigDecimal lockTotal) {
        this.lockTotal = lockTotal;
    }

    public String getLockOrderId() {
        return lockOrderId;
    }

    public void setLockOrderId(String lockOrderId) {
        this.lockOrderId = lockOrderId;
    }


    public String getLockForOther() {
        return lockForOther;
    }

    public void setLockForOther(String lockForOther) {
        this.lockForOther = lockForOther;
    }
}